STEP 21: Let's add one more astronaut to make it more difficult!

  • In , drag in Add Entry indented inside main() and above where you call play_game().
  • Change "fish" to "astronaut2" and 0 to -200.
  • Click Run and then click on the Console. See how "astronaut2" is now a part of our dictionary?


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)